package com.glx.learn_spring.learn_spring_03_bean_instance.service.impl;


import com.glx.learn_spring.learn_spring_03_bean_instance.dao.impl.BookDaoImpl;
import com.glx.learn_spring.learn_spring_03_bean_instance.service.IBookService;

public class BookServiceImpl implements IBookService {

    private BookDaoImpl bookDao;

    @Override
    public void save(){
        System.out.println("bookService save ...");
        bookDao.save();
    }

    public void setBookDao(BookDaoImpl bookDao) {
        this.bookDao = bookDao;
    }
}
